﻿<h3>Customers</h3>
<table class="table table-hover">
    <thead>
        <tr>
            <th></th>
            <th>Name</th>
            <th>Surname</th>
        </tr>
    </thead>
    <tbody data-bind="foreach: customers">
        <tr>
            <td>
              <a data-bind="attr:{href: '/#customer/edit/' + Id()}">
                <img data-bind="attr:{src: ImageUrl() }" alt="" style="width: 40px" class="img-polaroid" />
               </a>  
            </td>
            <td><span data-bind="text: Name"></span></td>
            <td><span data-bind="text: Surname"></span></td>
        </tr>   
    </tbody>
</table>
